{%extends "base.html"%}
{%block body%}
<h2>Fill in your information for "{{race.name|escape}} {{race.distance_in_miles|escape}} miles {{race.date|escape}} {{race.time|escape}} {{race.location|escape}}"</h2>

<form action="{%url views.entryx race.key.id%}" method="post">
<table>
{{form}}
<tr><td>
    <input alt="" src="https://checkout.google.com/buttons/buy.gif?merchant_id=912883645917434&amp;w=121&amp;h=44&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
		</td></tr>
<input type="hidden" name="raceid" value="{{race.key.id}}">
</table>
</form>


<!--
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="info@brooklynmarathon.com">
<input type="hidden" name="no_shipping" value="1">

<table>
<tr> <td align="left"><b>Pay via Pay Pal
for the event:</b><br/>
<br/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" 
      name="submit" alt="Make payments with payPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="item_name" value="2009 Boston Marathon">2009 Boston Marathon
<input type="hidden" name="amount" value="20.00">
</tr>
</table>

<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="IC_Sample">
</form>

<form action="https://checkout.google.com/api/checkout/v2/checkoutForm/Merchant/912883645917434" id="BB_BuyButtonForm" method="post" name="BB_BuyButtonForm">
    <input name="item_name_1" type="hidden" value="cherry tree race"/>
    <input name="item_description_1" type="hidden" value="race for the hard core."/>
    <input name="item_quantity_1" type="hidden" value="1"/>
    <input name="item_price_1" type="hidden" value="20.0"/>
    <input name="item_currency_1" type="hidden" value="USD"/>
    <input name="_charset_" type="hidden" value="utf-8"/>
    <input alt="" src="https://checkout.google.com/buttons/buy.gif?merchant_id=912883645917434&amp;w=121&amp;h=44&amp;style=white&amp;variant=text&amp;loc=en_US" type="image"/>
</form>
-->


{%endblock%}
